import Layout from "../layout/index.vue";
import { PERMISSION_KEY } from "@/constants/common";
const systemManageRoutes = [
    {
        path: "/system",
        component: Layout,
        redirect: "/system/userManage",
        meta: { title: "系统管理", icon: "Complex", permissionKey: PERMISSION_KEY[7].key },
        children: [
            {
                path: "userManage",
                name: "userManage",
                component: () => import("../pages/userManage/index.vue"),
                meta: {
                    title: "人员管理",
                    permissionKey: PERMISSION_KEY[8].key,
                },
            },
            {
                path: "roleManage",
                name: "roleManage",
                component: () => import("../pages/roleManage/index.vue"),
                meta: {
                    title: "角色管理",
                    permissionKey: PERMISSION_KEY[9].key,
                },
            },
            {
                path: "permissonManage/:id?",
                name: "permissonManage",
                component: () => import("../pages/roleManage/permisson.vue"),
                meta: {
                    title: "权限管理",
                    hidden: true,
                    activeMenu: "/system/roleManage",
                },
            },
        ],
    },
];
export default systemManageRoutes;
